
describe('test cy.test', () => {
    it('Visits the Kitchen Sink', () => {
      cy.visit('/')
    })
    it('Click the button', () => {
        cy.contains('About').click()

        cy.url().should('include', '/about')
    })
})

describe(`Test environment variable in cypress.${Cypress.env('environment')}.json`, () => {

    it('test api_server ', () => {
        expect(Cypress.env('api_server')).to.equal('http://localhost:3005/api/')
      })
})